home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2162 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  778 b 

  1. Path: news.bridge.net!news
  2. From: David Byrden <100101.2547@compuserve.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] [enums] class_ID as enum is basically useless? Why not GetClassID()?
  5. Date: 16 Jan 1996 05:55:40 GMT
  6. Organization: self-employed
  7. Message-ID: <4dfeks$h5n@news.bridge.net>
  8. References: <4dboiv$rlm@netlab.cs.rpi.edu>
  9. NNTP-Posting-Host: ppp-mia2-69.bridge.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15.  
  16. Richard;
  17.  
  18. >> I don't seem to be able to use the enum class_ID  to find out what
  19. >> class an object is because class_ID isn't "virtual" like a function.
  20.  
  21.  
  22. Sounds pretty useless to me, too. Does your compiler support RTTI,
  23. that is, the operator typeid( ) ?
  24.  
  25.     David
  26.  
  27.  
  28.